package com.bosssoft.hr.train.spring.service;

import com.bosssoft.hr.train.spring.demo.User;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: wang
 * @Time: 2022/3/6
 */

public interface UserService {
    User findById(int id);
    List<User> findByName(String name);
    Boolean batchRemove(ArrayList<Integer> id);
}
